package net.dgg.dggcloud.service.jrcrm.entity.customer;

import net.dgg.dggcloud.service.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * Created by Administrator on 2018/1/5.
 */
@Entity
@Table(name = "cus_widely_resource_allot_record")
public class WidelyResourceAllotRecord extends BaseEntity {

    /**
     * 线索创建时间
     */

    @Column(name = "resource_time")
    private String resourceTime;

    /**
     * 线索分配时间
     */
    @Column(name = "allot_time")
    private Date allotTime;

    /**
     * 分配人id
     */
    @Column(name = "allotor_id")
    private Long allotorId;

    /**
     * 分配人姓名
     */
    @Column(name = "allotor_name")
    private String allotorName;

    /**
     * 接收人Id
     */
    @Column(name = "receiver_id")
    private Long receiverId;

    /**
     * 接收人姓名
     */
    @Column(name = "receiver_name")
    private String receiverName;

    /**
     * 接收人部门Id
     */
    @Column(name = "receiver_org_id")
    private Long receiverOrgId;

    /**
     * 分配总条数
     */
    @Column(name = "total_num")
    private Integer totalNum;

    /**
     * 分配失败条数
     */
    @Column(name = "failed_num")
    private Integer failedNum;

    /**
     * 分配成功条数
     */
    @Column(name = "success_num")
    private Integer successNum;

    /**
     * 扩展字段1
     */
    @Column(name = "extension_1")
    private String extension1;

    /**
     * 扩展字段2
     */
    @Column(name = "extension_2")
    private String extension2;

    /**
     * 扩展字段3
     */
    @Column(name = "extension_3")
    private String extension3;

    /**
     * 扩展字段4
     */
    @Column(name = "extension_4")
    private String extension4;

    /**
     * 扩展字段5
     */
    @Column(name = "extension_5")
    private String extension5;

    public String getResourceTime() {
        return resourceTime;
    }

    public void setResourceTime(String resourceTime) {
        this.resourceTime = resourceTime;
    }

    public Date getAllotTime() {
        return allotTime;
    }

    public void setAllotTime(Date allotTime) {
        this.allotTime = allotTime;
    }

    public Long getAllotorId() {
        return allotorId;
    }

    public void setAllotorId(Long allotorId) {
        this.allotorId = allotorId;
    }

    public String getAllotorName() {
        return allotorName;
    }

    public void setAllotorName(String allotorName) {
        this.allotorName = allotorName;
    }

    public Long getReceiverId() {
        return receiverId;
    }

    public void setReceiverId(Long receiverId) {
        this.receiverId = receiverId;
    }

    public String getReceiverName() {
        return receiverName;
    }

    public void setReceiverName(String receiverName) {
        this.receiverName = receiverName;
    }

    public Long getReceiverOrgId() {
        return receiverOrgId;
    }

    public void setReceiverOrgId(Long receiverOrgId) {
        this.receiverOrgId = receiverOrgId;
    }

    public Integer getTotalNum() {
        return totalNum;
    }

    public void setTotalNum(Integer totalNum) {
        this.totalNum = totalNum;
    }

    public Integer getFailedNum() {
        return failedNum;
    }

    public void setFailedNum(Integer failedNum) {
        this.failedNum = failedNum;
    }

    public Integer getSuccessNum() {
        return successNum;
    }

    public void setSuccessNum(Integer successNum) {
        this.successNum = successNum;
    }

    public String getExtension1() {
        return extension1;
    }

    public void setExtension1(String extension1) {
        this.extension1 = extension1;
    }

    public String getExtension2() {
        return extension2;
    }

    public void setExtension2(String extension2) {
        this.extension2 = extension2;
    }

    public String getExtension3() {
        return extension3;
    }

    public void setExtension3(String extension3) {
        this.extension3 = extension3;
    }

    public String getExtension4() {
        return extension4;
    }

    public void setExtension4(String extension4) {
        this.extension4 = extension4;
    }

    public String getExtension5() {
        return extension5;
    }

    public void setExtension5(String extension5) {
        this.extension5 = extension5;
    }
}
